TypeError: the int object is not callable error

36

TypeError: the 'int' object is not callable error

item_price = [10, 33, 55, 77]
sum = 0
sum = sum(item_price)
print("The sum of all the items is:", str(sum))

Comments

Submit
0 Comments